using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AYE.BaseFramework.Manager;
using Prism.Commands;

namespace AYE_ClientSideAvalonia.ViewModels;

public class StartMainWindowViewModel : ViewModelBase
{
    public DelegateCommand TestCommand => new(() =>
    {
        IsPaneOpen = !IsPaneOpen;
    });

    //public IAsyncCommand asyncCommand => new(async() =>
    //{
    //    await Task.Delay(10);

    //});

    private bool _isPaneOpen;
    public bool IsPaneOpen { get => _isPaneOpen; set => SetProperty(ref _isPaneOpen, value); }
 
}
